import React from 'react'
import { useNavigate } from 'react-router-dom'
import {Button} from 'antd-mobile'
import NavBarBox from '../../components/NavBar'
const Home = () => {
  const navigate=useNavigate()
  return (
    <div>
      <NavBarBox title='首页' />
      <Button onClick={()=>navigate('/showTime')} color='primary' block>
        北京演出日历
      </Button>
    </div>
  )
}

export default Home
